package com.tao.base.app;

import android.content.Context;

import com.tao.base.app.initer.CrashIniter;
import com.tao.base.app.initer.StatisticsIniter;
import com.tao.mvpbaselibrary.app.BasicApplication;
import com.tao.mvpbaselibrary.lib_http.retrofit.RequestHandler;

public class App extends BasicApplication {

    static Context context;

    @Override
    protected String configDefaultBaseUrl() {
        return null;
    }

    @Override
    protected RequestHandler configDefaultHandler() {
        return null;
    }


    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        initStart();
    }

    private void initStart() {
        StatisticsIniter.init(context);
        CrashIniter.getInstance().init(context);
    }
}
